<h1>Personne List</h1>

<table>
  <thead>
    <tr>
      <th>Nom</th>
      <th>Pseudo</th>
      <th>Email</th>
      <th>Password</th>
      <th>Datecreation</th>
      <th>Isadmin</th>
      <th>Adresse</th>
      <th>Codepostal</th>
      <th>Ville</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($personne_list as $personne): ?>
    <tr>
      <td><a href="<?php echo url_for('personne/show?id='.$personne->getId()) ?>"><?php echo $personne->getNom() . " " . $personne->getPrenom() ?></a></td>
      <td><?php echo $personne->getPseudo() ?></td>
      <td><?php echo $personne->getEmail() ?></td>
      <td><?php echo $personne->getPassword() ?></td>
      <td><?php echo $personne->getDatecreation() ?></td>
      <td><?php echo $personne->getIsadmin() ?></td>
      <td><?php echo $personne->getAdresse() ?></td>
      <td><?php echo $personne->getCodepostal() ?></td>
      <td><?php echo $personne->getVille() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('personne/new') ?>">New</a>
